package com.yxw.yxnet_cd_center.customer_service.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author liuxin
 * @date 2023.09.13
 */
@Data
@ApiModel(value="UserInfoVo", description="登录用户详情")
public class UserInfoVo  implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "用户身份")
    private String userIdentity;

    @ApiModelProperty(value = "用户状态")
    private Byte userStats;

    @ApiModelProperty(value = "迎喜id")
    private String yxnetId;

    @ApiModelProperty(value = "用户上级user_id")
    private Long parentUserId;

    @ApiModelProperty(value = "支付宝userid")
    private String alipayUserid;

    @ApiModelProperty(value = "微信openid")
    private String wechatOpenid;

    @ApiModelProperty(value = "微信unionid")
    private String wechatUnionid;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    @ApiModelProperty(value = "用户真实姓名")
    private String userName;

    @ApiModelProperty(value = "证件类型：1 身份证，2 军官证，3 护照")
    private Byte identityCardType;

    @ApiModelProperty(value = "证件号码")
    private String identityCardNo;

    @ApiModelProperty(value = "登录时间")
    private LocalDateTime loginTime;

    @ApiModelProperty(value = "头像路径")
    private String picUrl;

    @ApiModelProperty(value = "头像路径Key")
    private String picUrlKey;

    @ApiModelProperty(value = "登录ip")
    private String loginIp;

    @ApiModelProperty(value = "上次登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "上次登录ip")
    private String lastLoginIp;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthdate;

    @ApiModelProperty(value = "性别")
    private Byte gender;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "登录设备类型")
    private String deviceType;

    @ApiModelProperty(value = "地区表中省份的ID")
    private String provinceId;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "地区表中城市的ID")
    private String cityId;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "地区表中的区ID")
    private String districtId;

    @ApiModelProperty(value = "区")
    private String district;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "连续登录失败次数")
    private Integer loginFalseCount;

    @ApiModelProperty(value = "登录方式")
    private String loginType;
    
    @ApiModelProperty(value = "客户端mqtt主题订阅")
    private Integer subscribeTopicResult;
}
